package com.song.pattern.strategy.impl;

import com.song.pattern.strategy.AbstractCalculator;
import com.song.pattern.strategy.ICalculator;

public class Minus extends AbstractCalculator implements ICalculator{
	@Override
	public int calculator(String exp) {
		int[] arrayInt = split(exp,"-");
		return arrayInt[0] - arrayInt[1];
	}

}
